* lisp/subr.el (with-eval-after-load): New macro.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 13 Jun 2013 22:24:52 +0000 (18:24 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 13 Jun 2013 22:24:52 +0000 (18:24 -0400)
commitfde7048a0bf523e22dd6d80f170c8dd380c1807e
tree0ad67b50e51458ea4869e2d97c81b84f81aa1f1f
parent2dab87829e8412ddc23108cbbc2c3aead7077a72
* lisp/subr.el (with-eval-after-load): New macro.
(eval-after-load): Allow form to be a function.
take advantage of lexical-binding.
(do-after-load-evaluation): Use dolist and adjust to new format.
* lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
* doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
instead of eval-after-load.  Don't document after-load-alist.
* src/lread.c (syms_of_lread):
* src/fns.c (Fprovide): Adjust to new format of after-load-alist.
doc/lispref/ChangeLog
doc/lispref/loading.texi
etc/NEWS
lisp/ChangeLog
lisp/simple.el
lisp/subr.el
src/ChangeLog
src/fns.c
src/lread.c